<?php $this->_extends('../_layouts/blank_layout'); ?>
<?php $this->_block('contents'); ?>
<link type="text/css" href="<?=Q::ini('custom_system/base_url')?>css/jq.ui.css" rel="stylesheet" />
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url')?>js/jq.js"></script>
<script type="text/javascript" src="<?=Q::ini('custom_system/base_url')?>js/jq.ui.js"></script>
<style>
.status {width: 70px;}
.line {width: 60px;}
.photo_handled_status_name {background: #CCFF99; width: 70px; text-align: center; height: 68px; border: 1px solid #ccc;}
.design_handled_status_name {background: #CCFFFF; width: 70px; text-align: center; height: 68px; border: 1px solid #ccc;}
.unhandled_status_name {background: #F5F5F5; width: 70px; text-align: center; height: 68px; border: 1px solid #ccc;}
.unhandled_line_left {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -60px -233px; width: 60px; height: 30px;}
.unhandled_line_right {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -266px -138px; width: 60px; height: 30px;}
.unhandled_line_up {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -435px -78px; width: 30px; height: 60px;}
.unhandled_line_down {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -545px -125px; width: 30px; height: 60px;}
.unhandled_big_line_left {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -60px -233px; width: 210px; height: 30px;}
.unhandled_big_line_right {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -118px -138px; width: 210px; height: 30px;}
.photo_handled_line_right {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -267px -72px; width: 60px; height: 30px;}
.photo_handled_big_line_right {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -116px -72px; width: 210px; height: 30px;}
.photo_handled_line_up {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -360px -78px; width: 30px; height: 60px;}
.photo_handled_line_down {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -470px -125px; width: 30px; height: 60px;}
.design_handled_line_left {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -60px -200px; width: 60px; height: 30px;}
.design_handled_big_line_left {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -60px -200px; width: 210px; height: 30px;}
.design_handled_line_up {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -396px -78px; width: 30px; height: 60px;}
.design_handled_line_down {background-image: url("<?=Q::ini('custom_system/base_url')?>img/requirement_status.png"); background-position: -508px -125px; width: 30px; height: 60px;}
</style>
<table width="800px" height="500px">
<tr>
	<td colspan="6" rowspan="2">&nbsp;</td>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto/value') <= $requirement['handle_status'] && $requirement['rephoto_time'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			返拍<br /><?=$requirement['rephoto_time']?><br /><?=$requirement['rephoto_user_name']?>
		</div>
	</td>
	<td class="line">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto_accepted/value') <= $requirement['handle_status'] && $requirement['rephoto_time'] ? 'photo_handled_line_right' : 'unhandled_line_right'?>"></div>
	</td>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto_accepted/value') <= $requirement['handle_status'] && $requirement['rephoto_accepted_time'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			返拍接受<br /><?=$requirement['rephoto_accepted_time']?><br /><?=$requirement['rephoto_accepted_user_name']?>
		</div>
	</td>
	<td class="line">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto_completed/value') <= $requirement['handle_status'] && $requirement['rephoto_accepted_time'] ? 'photo_handled_line_right' : 'unhandled_line_right'?>"></div>
	</td>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto_completed/value') <= $requirement['handle_status'] && $requirement['rephoto_completed_time'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			返拍完成<br /><?=$requirement['rephoto_completed_time']?><br /><?=$requirement['rephoto_completed_user_name']?>
		</div>
	</td>
</tr>
<tr height="60px">
	<td align="center">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/rephoto/value') <= $requirement['handle_status'] && $requirement['rephoto_time'] ? 'photo_handled_line_up' : 'unhandled_line_up'?>"></div>
	</td>
	<td colspan="3"></td>
	<td align="center">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_confirmed/value') <= $requirement['handle_status'] && $requirement['rephoto_completed_time'] ? 'photo_handled_line_down' : 'unhandled_line_down'?>"></div>
	</td>
</tr>
<tr>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/create/value') <= $requirement['handle_status'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			新单<br /><?=$requirement['create_time']?><br /><?=$requirement['requirement_user_name']?>
		</div>
	</td>
	<td class="line">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/requirement_confirmed/value') <= $requirement['handle_status'] ? 'photo_handled_line_right' : 'unhandled_line_right'?>"></div>
	</td>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/requirement_confirmed/value') <= $requirement['handle_status'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			需求确认<br /><?=$requirement['requirement_confirmed_time']?><br /><?=$requirement['requirement_confirmed_user_name']?>
		</div>
	</td>
	<td class="line">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_accepted/value') <= $requirement['handle_status'] ? 'photo_handled_line_right' : 'unhandled_line_right'?>"></div>
	</td>
	<td class="status">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_accepted/value') <= $requirement['handle_status'] && $requirement['photo_accepted_time'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			拍摄接受<br /><?=$requirement['photo_accepted_time']?><br /><?=$requirement['photo_accepted_user_name']?>
		</div>
	</td>
	<td class="line">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_completed/value') <= $requirement['handle_status'] ? 'photo_handled_line_right' : 'unhandled_line_right'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_completed/value') <= $requirement['handle_status'] && $requirement['photo_completed_time'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			拍摄完成<br /><?=$requirement['photo_completed_time']?><br /><?=$requirement['photo_completed_user_name']?>
		</div>
	</td>
	<td colspan="3">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_confirmed/value') <= $requirement['handle_status'] && empty($requirement['rephoto_time']) ? 'photo_handled_big_line_right' : 'unhandled_big_line_right'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/photo_confirmed/value') <= $requirement['handle_status'] ? 'photo_handled_status_name' : 'unhandled_status_name'?>">
			拍摄确认<br /><?=$requirement['photo_confirmed_time']?><br /><?=$requirement['photo_confirmed_user_name']?>
		</div>
	</td>
</tr>
<tr height="60px">
	<td colspan="10"></td>
	<td align="center">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_accepted/value') <= $requirement['handle_status'] ? 'design_handled_line_down' : 'unhandled_line_down'?>"></div>
	</td>
</tr>
<tr>
	<td rowspan="3" colspan="4"></td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_confirmed/value') <= $requirement['handle_status'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			设计确认<br /><?=$requirement['design_confirmed_time']?><br /><?=$requirement['design_confirmed_user_name']?>
		</div>
	</td>
	<td colspan="3">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_confirmed/value') <= $requirement['handle_status'] && empty($requirement['redesign_time']) ? 'design_handled_big_line_left' : 'unhandled_big_line_left'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_completed/value') <= $requirement['handle_status'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			设计完成<br /><?=$requirement['design_completed_time']?><br /><?=$requirement['design_completed_user_name']?>
		</div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_completed/value') <= $requirement['handle_status'] ? 'design_handled_line_left' : 'unhandled_line_left'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_accepted/value') <= $requirement['handle_status'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			设计接受<br /><?=$requirement['design_accepted_time']?><br /><?=$requirement['design_accepted_user_name']?>
		</div>
	</td>
</tr>
<tr height="60px">
	<td align="center">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/design_confirmed/value') <= $requirement['handle_status'] && $requirement['redesign_completed_time'] ? 'design_handled_line_up' : 'unhandled_line_up'?>"></div>
	</td>
	<td colspan="3"></td>
	<td align="center">
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign/value') <= $requirement['handle_status'] && $requirement['redesign_time'] ? 'design_handled_line_down' : 'unhandled_line_down'?>"></div>
	</td>
	<td colspan="2"></td>
</tr>
<tr>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign_completed/value') <= $requirement['handle_status'] && $requirement['redesign_completed_time'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			返修完成<br /><?=$requirement['redesign_completed_time']?><br /><?=$requirement['redesign_completed_user_name']?>
		</div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign_completed/value') <= $requirement['handle_status'] && $requirement['redesign_completed_time'] ? 'design_handled_line_left' : 'unhandled_line_left'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign_accepted/value') <= $requirement['handle_status'] && $requirement['redesign_accepted_time'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			返修接受<br /><?=$requirement['redesign_accepted_time']?><br /><?=$requirement['redesign_accepted_user_name']?>
		</div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign_accepted/value') <= $requirement['handle_status'] && $requirement['redesign_accepted_time'] ? 'design_handled_line_left' : 'unhandled_line_left'?>"></div>
	</td>
	<td>
		<div class="<?=Q::ini('custom_flag/image_requirement_handle_status/redesign/value') <= $requirement['handle_status'] && $requirement['redesign_time'] ? 'design_handled_status_name' : 'unhandled_status_name'?>">
			返修<br /><?=$requirement['redesign_time']?><br /><?=$requirement['redesign_user_name']?>
		</div>
	</td>
</tr>
</table>
<?php $this->_endblock();?>